function [tsArray] = subjDataForFile(file,fs,tree)

% If this is a data folder, then everything below it is from the same 
% analyser folder. 

t = get(tree,'audiofile',file,'analyserName','Subjective Data');
st = convertToDataObjects(t);
col=1;
for i = 1:length(st)
  if isempty(strfind(st{i}.DataObj.Name,'Median Subjective Response'))
    ts = st{i};
    tvec = 0:1/fs:ts.DataObj.TimeInfo.End;
    ts.DataObj.tsObj = resample(ts.DataObj.tsObj,tvec);
     tsArray{col} =  ts;
     col=col+1;
  end
end
